package com.ag.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * TbFeedbackcount entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "TB_FEEDBACKCOUNT", schema = "dbo", catalog = "AGDB")
public class TbFeedbackcount implements java.io.Serializable {

	// Fields

	private String TId;
	private TbTask tbTask;
	private String fbAct;
	private String fbCallback;
	private String fbDrain;
	private String a;
	private String b;
	private String c;

	// Constructors

	/** default constructor */
	public TbFeedbackcount() {
	}

	/** minimal constructor */
	public TbFeedbackcount(String TId, TbTask tbTask) {
		this.TId = TId;
		this.tbTask = tbTask;
	}

	/** full constructor */
	public TbFeedbackcount(String TId, TbTask tbTask, String fbAct,
			String fbCallback, String fbDrain, String a, String b, String c) {
		this.TId = TId;
		this.tbTask = tbTask;
		this.fbAct = fbAct;
		this.fbCallback = fbCallback;
		this.fbDrain = fbDrain;
		this.a = a;
		this.b = b;
		this.c = c;
	}

	// Property accessors
	@Id
	@Column(name = "T_ID", unique = true, nullable = false, length = 20)
	public String getTId() {
		return this.TId;
	}

	public void setTId(String TId) {
		this.TId = TId;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "T_ID", unique = true, nullable = false, insertable = false, updatable = false)
	public TbTask getTbTask() {
		return this.tbTask;
	}

	public void setTbTask(TbTask tbTask) {
		this.tbTask = tbTask;
	}

	@Column(name = "FB_ACT", length = 10)
	public String getFbAct() {
		return this.fbAct;
	}

	public void setFbAct(String fbAct) {
		this.fbAct = fbAct;
	}

	@Column(name = "FB_CALLBACK", length = 10)
	public String getFbCallback() {
		return this.fbCallback;
	}

	public void setFbCallback(String fbCallback) {
		this.fbCallback = fbCallback;
	}

	@Column(name = "FB_DRAIN", length = 10)
	public String getFbDrain() {
		return this.fbDrain;
	}

	public void setFbDrain(String fbDrain) {
		this.fbDrain = fbDrain;
	}

	@Column(name = "A", length = 60)
	public String getA() {
		return this.a;
	}

	public void setA(String a) {
		this.a = a;
	}

	@Column(name = "B", length = 60)
	public String getB() {
		return this.b;
	}

	public void setB(String b) {
		this.b = b;
	}

	@Column(name = "C", length = 60)
	public String getC() {
		return this.c;
	}

	public void setC(String c) {
		this.c = c;
	}

}